Skip to content

Idempotent spawn#145

Open
victormlg wants to merge 1 commit into
cfengine:mainfrom
victormlg:idemspawn
Open

Idempotent spawn#145
victormlg wants to merge 1 commit into
cfengine:mainfrom
victormlg:idemspawn

Conversation

@victormlg

@victormlg victormlg commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

Here is a first iteration of idempotent spawn. It can probably be optimized in further iterations, by for example spawning in "parallel"

The way it works is that it will update the environment by comparing the given yaml config to the previously successfully run yaml config. If we want tp ignore the previously run config we can run using the --reset flag.

@cf-bottom

Copy link
Copy Markdown

Thanks for submitting a pull request! Maybe @larsewi can review this?

@victormlg victormlg marked this pull request as ready for review June 9, 2026 12:23
Signed-off-by: Victor Moene <victor.moene@northern.tech>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants